﻿<phone:PhoneApplicationPage 
    x:Class="tnet.TempNewsItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:advert="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI" 
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="728" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions> 
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions> 
 
        <Grid x:Name="ContentPanel" Margin="0,0,0,0">
            <phone:WebBrowser x:Name="webBrowser1" Background="Transparent" IsEnabled="True" IsHitTestVisible="True" UseLayoutRounding="False" />
        </Grid>
 
        <!--<advert:AdControl x:Name="AdvertControl" ApplicationId="d204dadc-2fb5-4fa2-b6d0-6d99e3ea95d0" 
            AdUnitId="82622" AdModel="Contextual" Grid.Row="1"  RotationEnabled="True" 
             Width="480" Height="80" HorizontalAlignment="Left" VerticalAlignment="Bottom"
             UseLayoutRounding="False" d:LayoutRounding="Auto" d:LayoutOverrides="Height"  >
        </advert:AdControl>-->
    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Resources/home.png" Text="home" x:Name="HomeIcn" Click="HomeIcn_Click" />
            <shell:ApplicationBarIconButton IconUri="/Resources/favs.png" Text="rate" x:Name="RateIcn" Click="RateIcn_Click" />
            <shell:ApplicationBarIconButton IconUri="/Resources/appbar.feature.email.rest.png" Text="email this" x:Name="EmailIcn" Click="EmailIcn_Click" />
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="add to favorites" Click="AddToFavorites_Click" />
                <shell:ApplicationBarMenuItem Text="add to facebook" Click="Facebook_Click" />
                <shell:ApplicationBarMenuItem Text="tweet this" Click="Tweet_Click"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

</phone:PhoneApplicationPage>
